Skip to content

Instantly share code, notes, and snippets.

{
"scrapedAt": "2026-02-12T19:20:30.885181Z",
"sourceUrl": "https://www.harney.com/collections/all-loose-tea",
"jobId": "scrape-1770924030884",
"products": [
{
"name": "Hot Cinnamon Spice",
"price": "$ 0.20",
"originalPrice": null,
"onSale": false,
@karpathy
karpathy / microgpt.py
Last active February 13, 2026 00:22
microgpt
"""
The most atomic way to train and inference a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@ih2502mk
ih2502mk / list.md
Last active February 13, 2026 00:15
Quantopian Lectures Saved
@thiagozs
thiagozs / DoH_DNSoverHTTPS.md
Created November 29, 2021 21:16
DoH - DNS over HTTPS

DoH - DNS over HTTPS

DoH queries resolve over HTTPS for privacy, performance, and security. DoH also makes it easier to use a name server of your choice instead of the one configured for your system.

Spec

RFC 8484 - DNS Queries over HTTPS (DoH)

Publicly available servers

@karpathy
karpathy / add_to_zshrc.sh
Created August 25, 2024 20:43
Git Commit Message AI
# -----------------------------------------------------------------------------
# AI-powered Git Commit Function
# Copy paste this gist into your ~/.bashrc or ~/.zshrc to gain the `gcm` command. It:
# 1) gets the current staged changed diff
# 2) sends them to an LLM to write the git commit message
# 3) allows you to easily accept, edit, regenerate, cancel
# But - just read and edit the code however you like
# the `llm` CLI util is awesome, can get it here: https://llm.datasette.io/en/stable/
gcm() {